local extension = Package("jbsuno_cards", Package.CardPack)
extension.extensionName = "jbs2"

Fk:loadTranslationTable{
  ["jbsuno_cards"] = "uno卡牌",
}

extension.game_modes_whitelist = { "jbsuno_mode"}

  

extension:addCards{
     

    Fk:cloneCard("nullification", Card.Heart, 11),
    Fk:cloneCard("nullification", Card.Heart, 12),
    Fk:cloneCard("nullification", Card.Heart, 1),
    Fk:cloneCard("nullification", Card.Heart, 13),

    Fk:cloneCard("nullification", Card.Heart, 11),
    Fk:cloneCard("nullification", Card.Heart, 13),
    Fk:cloneCard("indulgence", Card.Heart, 12),
    Fk:cloneCard("indulgence", Card.Heart, 6),
    Fk:cloneCard("indulgence", Card.Heart, 5),
    Fk:cloneCard("indulgence", Card.Diamond, 7),
    Fk:cloneCard("indulgence", Card.Diamond, 6),

    Fk:cloneCard("ex_nihilo", Card.Diamond, 6),



    Fk:cloneCard("ex_nihilo", Card.Heart, 8),

    Fk:cloneCard("ex_nihilo", Card.Club, 4),



    Fk:cloneCard("ex_nihilo", Card.Spade, 13),



   
    Fk:cloneCard("ex_nihilo", Card.Club, 1),
  

    Fk:cloneCard("ex_nihilo", Card.Heart, 7),


    Fk:cloneCard("ex_nihilo", Card.Diamond, 4),



    Fk:cloneCard("supply_shortage", Card.Heart, 4),
    Fk:cloneCard("supply_shortage", Card.Heart, 12),
    Fk:cloneCard("supply_shortage", Card.Heart, 2),
    Fk:cloneCard("supply_shortage", Card.Heart, 1),
    Fk:cloneCard("supply_shortage", Card.Heart, 10),

    Fk:cloneCard("dismantlement", Card.Diamond, 7),
    Fk:cloneCard("dismantlement", Card.Diamond, 7),

    Fk:cloneCard("dismantlement", Card.Heart, 1),


    Fk:cloneCard("dismantlement", Card.Heart, 11),

    Fk:cloneCard("dismantlement", Card.Heart, 5),
    Fk:cloneCard("dismantlement", Card.Club, 11),
    Fk:cloneCard("dismantlement", Card.Heart, 6),
    Fk:cloneCard("dismantlement", Card.Club, 10),
    Fk:cloneCard("dismantlement", Card.Club, 2),
    Fk:cloneCard("dismantlement", Card.Spade, 9),
    Fk:cloneCard("dismantlement", Card.Spade, 1),
   


  }
  
  local unoSkill = fk.CreateActiveSkill{
    name = "unochange_skill",
    can_use = Util.FalseFunc,
  }
  local unochange = fk.CreateBasicCard{
    name = "unochange",
    suit = Card.Spade,
    number = 1,
    skill = unoSkill,
  }
  extension:addCard(unochange)
  Fk:loadTranslationTable{
    ["unochange"] = "八门金锁",
    [":unochange"] = "基本牌<br/><b>效果</b>：没有效果，不能被使用。<br/>在uno模式打出时可以反转当前行动次序。",
  }
  
  extension:addCards{
    unochange:clone(Card.Heart, 11),
    unochange:clone(Card.Heart, 10),
    unochange:clone(Card.Heart, 7),
    unochange:clone(Card.Diamond, 8),
    unochange:clone(Card.Diamond, 7),
    unochange:clone(Card.Diamond, 3),
    unochange:clone(Card.Diamond, 12),
    unochange:clone(Card.Club, 8),
    unochange:clone(Card.Club, 1),
    unochange:clone(Card.Club, 2),
    unochange:clone(Card.Club, 6),
    unochange:clone(Card.Spade, 4),
    unochange:clone(Card.Spade, 9),
    unochange:clone(Card.Spade, 5),


  }



return extension
